/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.commons.auth.satoken.properties;

/**
 * SaToken 权限配置属性
 *
 * @author Jasmine
 * @since 1.0.0
 */
public class SaTokenPermissionProperties {

    /**
     * 是否启用权限
     */
    private boolean enabled = false;
    /**
     * 是否启用注解鉴权能力，关闭了，框架就只会做路由拦截校验。 true-启用，false-关闭。
     */
    private boolean isAnnotation = true;

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public boolean isAnnotation() {
        return isAnnotation;
    }

    public void setAnnotation(boolean annotation) {
        isAnnotation = annotation;
    }
}
